public class User {
    int id;
    String groups;
    String name;
    String username;
    String password;
    String gender;
    int id_card;
    String phone;
    String identity;
    int book_count;
    int state;

    public User() {

    }

    public User(int id, String groups, String name, String username, String password, String gender, int id_card, String phone, String identity, int book_count, int state) {
        this.id = id;
        this.groups = groups;
        this.name = name;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.id_card = id_card;
        this.phone = phone;
        this.identity = identity;
        this.book_count = book_count;
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGroups() {
        return groups;
    }

    public void setGroups(String groups) {
        this.groups = groups;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getId_card() {
        return id_card;
    }

    public void setId_card(int id_card) {
        this.id_card = id_card;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public int getBook_count() {
        return book_count;
    }

    public void setBook_count(int book_count) {
        this.book_count = book_count;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
